搜索资源列表
p-c
- 计算机操作系统的生产者与消费者问题 一组生产者向一组消费者提供消息,它们共享一个有界缓冲池,生产者向其中投放消息,消费者从中取得消息。生产者要不断将数据放入共享的缓冲,消费者要不断从缓冲取出数据。消费者必须等生产者取走数据后才能再放新数据(不覆盖数据),消费者必须等生产者放入新数据后才能去取(不重复)。-computer operating system, the producer and a consumer group to a group of producers to provide
p&c
- 经典的生产者、消费者问题。-classic producer, consumer issues.
4
- 这段C语言代码是我在大学期间学习操作系统时,编写的一个简单的,对“生产者消费者”问题进行模拟程序。用字符屏幕输出结果,其中do:表示生产者正在进行生产;??:表示消费者请求消费;*****:表示已经完成的产品;CurrentTime:通过一个时间来标志那些动作是同时发生的
shengchangzhexiaofeizhe
- 操作系统,生产者消费者问题,用C语言实现。
ss
- 根据生产者—消费者问题的相关原理,用C编程创建两组线程,分别模拟生产者和消费者,为了确保两组线程之间的同步和互斥,必须设置相关的信号量让两组线程有序的运行。
PROCUS
- 操作系统课程实验模拟生产者消费者问题的C语言程序.(Turbo C 详见ReadMe)-Experimental simulation of the operating system producers and consumers of C language program. (See ReadMe Turbo C)
解决生产者-消费者问题
- public class Server extends Thread { Client client int counter public Server(Client _client) { this.client = _client this.counter = 0 } public void run() { while (counter < 10) { this.client.queue.addElement(new Integer(counter)) counter++ } throw
producter-and-consumer
- linux多线程编程,生产者消费者问题的c语言实现,模拟多线程编程资源抢占问题。-Linux multi-threaded programming, the producer-consumer problem, c language, analog multi-threaded programming resources to seize the problem.
pv
- 在linux环境下c语言实现生产者消费者问题。多个生产者消费者互斥访问缓冲区-In linux environment c language producers consumer issues. Mutex consumers to visit a number of producers in the buffer zone
OS
- 题目一:实现生产者消费者问题;题目二:实现银行家算法。此程序的设计在Windows XP操作系统下,基于Microsoft Visual C++6.0环境下的一个关于实现生产者与消费者问题和银行家算法的程序。用C语言实现编程。-Title 1: Achieving the producer consumer problem Title 2: achieving banker' s algorithm. The design of this program under the Window
process
- Windows编程操作系统生产者消费者问题源代码C++实现-ProcessControlusersandcustomer
thread
- 用c语言实现生产者消费者问题,可以任意确定个数-Producers, consumers with c language problem, you can arbitrarily determine the number of
BarberAndCustomer
- 1)用C语言或C++语言编程实现P、V原语并用P、V原语描述如下生产者-消费者问题: 有一个理发师,一把理发椅和n把提供给等候理发的顾客座的椅子。如果没有顾客,则理发师便在理发椅子上睡觉;当第一个顾客到来时,必须唤醒该理发师进行理发;如果理发师正在理发时又有顾客到来,则如果有空椅子可坐,他就坐下来等待,如果没有空椅子,他就离开理发店。 为理发师和顾客各编一段程序描述他们的行为,要求不能带有竞争条件,试用P、V操作实现。 (2)分析 此题可看作是n个生产者和1个消费者问题
pro_con.tar
- 使用C语言实现了经典的生产者消费者问题。-Producer and consumer problem implemented in C
10
- 此源代码使用的是C语言编写,可以实现操作系统中经典的生产者-消费者问题的验证-This source code is written in C can be achieved in the classic operating system producer- consumer problem verification
xiaofeizheshengchanzhe-CSharp
- C#写的生产者消费者问题,涉及到进程与线程的操控问题,较为简洁易懂-the problem of producer and consumer written by C#
p-and-c
- 线程管理中的生产者消费者问题,主要是描述线程管理中生产者与消费者在共享资源时是否同步与互斥问题-Producers and consumers in the thread management, describes the thread management of producers and consumers, whether in the shared resource synchronization and mutual exclusion
sem.c
- 这是关于操作系统中生产者消费者问题的一段代码,其中生产者和消费者问题是用信号量实现的,临界资源是用数组实现的。-This is a piece of code about the producer-consumer problem in the operating system, where producer and consumer problems are implemented with semaphores, and the critical resource is implemente
procosumer
- 著名的生产者消费者问题多线程实现,建议在linux系统编译运行。(The famous issue: producer and costumer.)